<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>{{parent-groupId}}</groupId>
        <artifactId>{{parent-artifactId}}</artifactId>
        <version>{{parent-version}}</version>
{{#remote-parent-pom}}
        <relativePath/>
{{/remote-parent-pom}}
    </parent>
    <groupId>{{groupId}}</groupId>
    <artifactId>{{artifactId}}</artifactId>
    <version>{{project-version}}</version>

{{#pom-properties}}
{{#first}}
    <properties>
{{/first}}
        <{{key}}>{{value}}</{{key}}>
{{#last}}
    </properties>

{{/last}}
{{/pom-properties}}
{{#dependencies-management}}
{{#first}}
    <dependencyManagement>
        <dependencies>
{{/first}}
            <dependency>
                <groupId>{{groupId}}</groupId>
                <artifactId>{{artifactId}}</artifactId>
{{#version}}
                <version>{{.}}</version>
{{/version}}
{{#scope}}
                <scope>{{.}}</scope>
{{/scope}}
{{#type}}
                <type>{{.}}</type>
{{/type}}
{{#optional}}
                <optional>{{.}}</optional>
{{/optional}}
{{#exclusions}}
{{#first}}
                <exclusions>
{{/first}}
                    <exclusion>
                        <groupId>{{groupId}}</groupId>
                        <artifactId>{{artifactId}}</artifactId>
                    </exclusion>
{{#last}}
                </exclusions>
{{/last}}
{{/exclusions}}
            </dependency>
{{#last}}
        </dependencies>
    </dependencyManagement>

{{/last}}
{{/dependencies-management}}
{{#dependencies}}
{{#first}}
    <dependencies>
{{/first}}
        <dependency>
            <groupId>{{groupId}}</groupId>
            <artifactId>{{artifactId}}</artifactId>
{{#version}}
            <version>{{.}}</version>
{{/version}}
{{#scope}}
            <scope>{{.}}</scope>
{{/scope}}
{{#type}}
            <type>{{.}}</type>
{{/type}}
{{#optional}}
            <optional>{{.}}</optional>
{{/optional}}
        </dependency>
{{#last}}
    </dependencies>

{{/last}}
{{/dependencies}}
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-libs</id>
                    </execution>
                </executions>
            </plugin>
{{#maven-plugins}}
{{.}}
{{/maven-plugins}}
        </plugins>
    </build>
    {{#maven-profiles}}
        {{.}}
    {{/maven-profiles}}
</project>
